package com.mask.im.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mask.im.business.model.entity.UserAuth;
import com.mask.im.business.model.dto.UserAdminDTO;
import com.mask.im.business.model.vo.ConditionVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @author jian
 */
@Mapper
public interface UserAuthMapper extends BaseMapper<UserAuth> {

	List<UserAdminDTO> listUsers(@Param("current") Long current, @Param("size") Long size, @Param("conditionVO") ConditionVO conditionVO);

	Integer countUser(@Param("conditionVO") ConditionVO conditionVO);
}
